package com.smart.campus.interfaces;

import com.smart.campus.dto.ProtectiveGuidanceManagement;
import com.smart.campus.pojo.PagedResponse;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @BelongsProject: smart-campus
 * @BelongsPackage: com.smart.campus.interfaces
 * @Author: 戴冰洁
 * @CreateTime: 2024-09-22  19:18
 * @Description: TODO
 * @Version: 1.0
 */
public interface ProtectiveGuidanceManagementServiceApi {
    @RequestMapping(value = "protective/protectiveList")
    public List<ProtectiveGuidanceManagement> protectiveList();
    @RequestMapping(value = "protective/addprotective")
    public void addprotective(@RequestBody ProtectiveGuidanceManagement protectiveGuidanceManagement);
    @RequestMapping(value = "protective/protectiveById")
    public ProtectiveGuidanceManagement protectiveById(@RequestParam(value = "id") Integer id);
    @RequestMapping(value = "protective/protectiveListById")
    public PagedResponse<ProtectiveGuidanceManagement> protectiveListById(@RequestBody ProtectiveGuidanceManagement protectiveGuidanceManagement,@RequestParam(value = "pageNum")Integer pageNum,@RequestParam(value = "pageSize")Integer pageSize);
    @RequestMapping(value = "protective/updateprotective")
    public void updateprotective(@RequestBody ProtectiveGuidanceManagement protectiveGuidanceManagement);
    @RequestMapping(value = "protective/deleteprotective")
    public void deleteprotective(@RequestParam(value = "id") Integer id);
}
